import request from '@/utils/request'

export default {

    //生成统计数据
    createStaDaily(day){
        return request({
            url: `/staservice/sta/createStaDaily/${day}`,
            method: 'post',
        })
    },
    // 展示统计数据
    getStaDaily(searchObj){
        return request({
            url: `/staservice/sta/getStaDaily/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get',
        })
    },
}